package com.ccibe.g16system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ccibe.g16system.mapper.GoodsMapper;
import com.ccibe.g16system.pojo.Goods;
import com.ccibe.g16system.service.GoodsService;
import org.springframework.stereotype.Service;

@Service
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods>
        implements GoodsService {

    @Override
    public boolean addGoods(Goods goods) {
        return baseMapper.insert(goods) > 0;
    }
}




